package cn.java89.entity;
 

import java.io.Serializable;

/**
 * @author oldliu
 * @since 1.0
 */


public class Subject implements Serializable {

    private Long id;

    private Long gradeid;
    private String subjectname;
    //@TableField(exist = false)
    private int classhour;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGradeid() {
        return gradeid;
    }

    public void setGradeid(Long gradeid) {
        this.gradeid = gradeid;
    }

    public String getSubjectname() {
        return subjectname;
    }

    public void setSubjectname(String subjectname) {
        this.subjectname = subjectname;
    }

    public int getClasshour() {
        return classhour;
    }

    public void setClasshour(int classhour) {
        this.classhour = classhour;
    }
}

